package com.cloud.code.真题;

import java.util.Scanner;

public class Demo18 {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            String line = scanner.nextLine();

            String[] strings = line.split(" ");

            int count = 0;
            for (int i = 0; i < strings.length; i++) {

                StringBuilder tem = new StringBuilder(strings[i]);
                if(tem.toString().replaceAll("[a-z]","").isEmpty()){
                    tem.reverse();
                }

                for (int j = 0; j < tem.length() - 3; j++) {
                    if(tem.substring(j,j+1).matches("[aeiou]")){
                        continue;
                    }

                    if(tem.substring(j+1,j+2).matches("[^aeiou]")){
                        continue;
                    }

                    if(tem.substring(j+2,j+3).matches("[aeiour]")){
                        continue;
                    }

                    if(tem.substring(j+3,j+4).matches("[^e]")){
                        continue;
                    }

                    count++;
                }

            }

            System.out.println(count);

        }
    }
}
